package org.kitrum.example.spring.factory;

import org.kitrum.example.model.UserBean;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.ObjectFactory;

/**
 * @program: kitrum-example
 * @description:
 * @author: Kun
 * @create: 2021-01-22 10:10
 */
public class UserObjectFactory implements ObjectFactory<UserBean> {

    @Override
    public UserBean getObject() throws BeansException {
        return new UserBean();
    }
}
